#include<stdio.h>
#include <time.h>
#include <stdlib.h>



int main()
{
	printf("The most simple benchmark known..counting..in this case till 4.2 billion integers\n");
	clock_t start,stop;
	start = clock();
	register unsigned long i = 0;
	register unsigned long finalCount=0;
	while(1)	
	{//	printf("%u\n",i);
		i++;
		finalCount=i;
		if(finalCount == 4294967295)
			break;	
	}
	stop = clock();
	double executionTime = (double)(stop - start)/CLOCKS_PER_SEC ;
	printf("%lu integers counted in %f seconds\n",finalCount,executionTime);

}
